package com.ziyun.pop.modules.erpSupplierOffline.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import com.ziyun.pop.modules.erpSupplierOffline.entity.ErpSupplierOfflineEntity;
import io.renren.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 线下外协商
 *
 * @author llc
 * @email 787254039@qq.com
 * @date 2018-10-29 08:48:05
 */
public interface ErpSupplierOfflineService extends IService<ErpSupplierOfflineEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<ErpSupplierOfflineEntity> getListBySupplierName(String ziyunSuppName);

    R queryPageErpSupplierList(Map<String,Object> params);

    ErpSupplierOfflineEntity selectByProduId(Integer supplierId);

    R updateByMap(Map<String,Object> map);

    int selectCountBySupplierName(String supplierName);

    int selectCountByTel(String contactTel);
}

